8 #ifndef OPENGGCMINTERPOLATOR_H_
9 #define OPENGGCMINTERPOLATOR_H_
26 float interpolate(
const std::string& variable,
const float& c0,
const float& c1,
const float& c2);
27 float interpolate(
const std::string& variable,
const float& c0,
const float& c1,
const float& c2,
28 float& dc0,
float& dc1,
float& dc2);
29 float interpolate(
const long& variable_id,
const float & c0,
const float& c1,
const float& c2);
30 float interpolate(
const long& variable_id,
const float& c0,
const float& c1,
const float& c2,
float& dc0,
31 float& dc1,
float& dc2);
38 boost::unordered_map<std::string, float> conversionFactors;
39 boost::unordered_map<long, float> conversionFactorsByID;
45 const std::vector<float> * x_array;
46 const std::vector<float> * y_array;
47 const std::vector<float> * z_array;
48 std::string previousVariable;
49 long previousVariableID;
50 float previousConversionFactor;